package com.example.petback.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class UserModel {
    @TableId(value = "username",type = IdType.INPUT)
    private String username;
    private String email;
    private String password;
    private String name;
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private Timestamp registerTime;
}
